package org.dromara.wyl.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.wyl.domain.NppAugmentation;

/**
 * 【请填写功能名称】业务对象 npp_augmentation
 *
 * @author Lion Li
 * @date 2023-12-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NppAugmentation.class, reverseConvertGenerate = false)
public class NppAugmentationBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 数据集详情Id
     */
    @NotNull(message = "数据集详情Id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long detailId;

    /**
     * 批量大小
     */
    @NotNull(message = "批量大小不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long batchSize;

    /**
     * 迭代次数
     */
    @NotNull(message = "迭代次数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long iterationNum;

    /**
     * 生成器学习率
     */
    @NotNull(message = "生成器学习率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String generatorRate;

    /**
     * 判别器学习率
     */
    @NotNull(message = "判别器学习率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String discriminatorRate;

    /**
     * 生成样本个数
     */
    @NotNull(message = "生成样本个数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sampleNum;


}
